<template>
  <el-row class="tac">
    <el-col :span="24">
      <h5 class="mb-2">后台管理系统</h5>
      <el-menu
        active-text-color="#ffd04b"
        background-color="#545c64"
        class="el-menu-vertical-demo"
        default-active="2"
        text-color="#fff"
        router
      >
        <el-menu-item index="/dashboard">
          <el-icon><Histogram /></el-icon>
          <span>统计图表</span>
        </el-menu-item>
        <el-sub-menu index="2">
          <template #title>
            <el-icon><UserFilled /></el-icon>
            <span>用户管理</span>
          </template>
          <el-menu-item index="/user">用户列表</el-menu-item>
        </el-sub-menu>
        <el-sub-menu index="3">
          <template #title>
            <el-icon><Briefcase /></el-icon>
            <span>课程管理</span>
          </template>
          <el-menu-item index="/course">课程列表</el-menu-item>
        </el-sub-menu>
        
      </el-menu>
    </el-col>
  </el-row>
</template>

<script setup>
</script>

<style scoped>
h5 {
  color: white;
  text-align: center;
  font-size: 16px;
}
</style>